package com.zyg.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyg.pojo.Class;
import com.zyg.util.LayData;
import org.springframework.web.bind.annotation.RequestParam;

public interface ClassService extends IService<Class> {
    IPage<Class> listWithGrade(IPage<Class> page, QueryWrapper<Class> queryWrapper);

   // long count(QueryWrapper<Class> qw);
//   Class getClassWithGradeId(Integer classId);
//   @Select("SELECT * FROM sysclass WHERE classid = #{classId}")
//   Class selectClassWithGradeId(@Param("classId") Integer classId);

}
